package com.zsc.shixun.model.notice;

import com.zsc.shixun.entity.Notice;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/6/18
 */
@Service
@Mapper(componentModel = "spring")
public interface NoticeMapping {
    /**
     * @param notice
     * @return
     */
    NoticeVO entityToVo(Notice notice);

    List<NoticeVO> entitysToVos(List<Notice> noticeList);
}
